#ifndef SHELLEXECUTOR_H
#define SHELLEXECUTOR_H

#include <QWidget>
#include <QTextBrowser>
#include <QProcess>

class ShellExecutor : public QWidget
{
    Q_OBJECT
public:
    explicit ShellExecutor(const QString& params="", QWidget *parent = 0);
    void start(const QString &cmd);
signals:

public slots:
  void readyRead();

private:
    QTextBrowser *text;
    QProcess process;

};

#endif // SHELLEXECUTOR_H
